The PCG-BASIC was devoleped in particular for the usage of the graphic-system PCG-700 to be able to get plot functions like a bit design graphics of conventional style by this special kind of graphics.

The PCG-BASIC is compatible to the S-BASIC: all commands of the S-BASIC are available. Additional some new and comfortable commands and functions are implemented.

Additions are:

INPUT

You can input variables and formulars.
Example:
INPUT A
You can type in: SIN(1) ( A will get 0.84147098 )
or 
if the variable C contains 3:
INPUT A
You can type in: C ( A will get 3 )


DATA

You can additional use formlars in DATA.
Example:
DATA 10,"a",SQR(2),...


ALPHA LOCK

Changes the upper/lowercase-mode for the keyboard. Normally all inputted characters are capital letters and for lowercase-letters you have to additional press the SHIFT-key. If you press <SHIFT><ALPHA> in the PCG-BASIC this is inverted. That means you normally type in lowercase-letters and if you need a capital letter you have to press additional the SHIFT-key. Your MZ gets a typewriter keyboard by this function.


New function-key assignments

F1 RUN+<CR>
F2  German lowercase diphthong "ae"
F3  German lowercase diphthong "oe"
F4  German lowercase diphthong "ue"
F5  German lowercase letter
F6 CHR$(
F7  German uppercase diphthong "AE"
F8  German uppercase diphthong "OE"
F9  German uppercase diphthong "UE"
F10 ASCII-character $7F ( press key sign )


Labels

You can use lables for the commands GOTO, GOSUB, RUN, THEN instead of a line number.
Example:
10 ......:END
20 "PROGRAM2": For I=1 TO .....
   .........
40 GOTO PROGRAM2
   .........
60 IF I=7 THEN TEST1


Variable names

You can use variable names having more than 2 characters ( up to 255 characters are allowed ).
Example:
YEAR1983 will be distinguished from YEAR1984.


CTRL-H

You can hear the signals from tape !
Example: If you press <CTRL><A> you are prompted to press the PLAY-key. If you do now the loudspeaker sounds the signals from tape.


CTRL-A

You can forward the tape to a specific position by the PCG-BASIC. You are prompted to enter a counter value by "FWRD TO?" if you use <CTRL><A>. Next you have to press the FFWD-key and the tape will be stopped at the requested position ( +/- 5 counter digits ).


Tape density

Loading the interpreter will automatically set the tape density to half the load time nearly. This is indicated by the message "*MONITOR IN RAM *" and additional by a beep tone.


Technical scientific charater set

PCG-700 loads automatically the most important mathematical and greece characters ( take a look at pcgcharset.gif ). The codes are > $80 and can be displayed on the screen ( not by the plotter ).

